package com.xiaoyu.izf.multivalues;

public class TwoValue<A,B> extends OneValue<A> {

    private B value2;

    public TwoValue() {
    }

    public TwoValue(A value1, B value2) {
        super(value1);
        this.value2 = value2;
    }

    public B getValue2() {
        return value2;
    }

    public void setValue2(B value2) {
        this.value2 = value2;
    }

    @Override
    public String toString() {
        return "TwoValue{" +
                "value2=" + value2 +
                '}';
    }
}
